package com.yhp.impl;

import com.mayi.MemberService;
import com.yhp.WeiXinApp;
import com.yhp.feign.AppServiceFeign;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 2020-04-29
 * Administrator
 * meiteshopparent
 * 面向对象面向君  不负代码不负卿
 */
@RestController
public class MemberServiceImpl implements MemberService {

    @Resource
    private AppServiceFeign appServiceFeign;

    @Override
    public WeiXinApp getweixin() {
        System.out.println("会员方:调取微信信息");
        return appServiceFeign.getapp();
    }
}
